import gym
from net.gpt_simple_tcp_server import main as net_run
from net.gpt_simple_tcp_server import Flag
from net.gpt_simple_tcp_server import _Flag
import threading
from rl_envs.Car2dEnv import Car2dEnv


def main():
    env = gym.make('Car2dEnv-v0')

    env.spec.reward_threshold

    # env.size = 10

    thread_save = threading.Thread(target=net_run)
    thread_save.start()

    env.reset()


if __name__ == '__main__':
    main()




